/**
 * @author Linrui
 * @since 2011-05-01
 * 公司信息的管理
 */
package com.qeado.company.web;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import com.opensymphony.xwork2.ActionSupport;
@Scope("request")
@Controller
public class CompanyAction extends ActionSupport {

	/**
	 * 首页
	 */
	@Override
	public String execute() throws Exception {
		return super.execute();
	}
	
	/**
	 * 企业信息
	 */
	public String infoList() throws Exception {
		return "info_list";
	}
	
	/**
	 * 企业地域分类
	 */
	public String areaCategory() throws Exception{
		return "info_list";
	}
	/**
	 * 企业高级搜索
	 */
	public String searchBar() throws Exception{
		return SUCCESS;
	}
	
	/**
	 * 按ID查询某个企业
	 */
	public String getCompanyById() throws Exception{
		return "view";
	}
}
